package org.glut.wechat.moments.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 朋友圈权限实体类（给谁看/谁不能看）
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("moments_permission")
public class MomentsPermission {

    /**
     * 权限ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 朋友圈ID
     */
    private Integer momentId;

    /**
     * 用户ID
     */
    private Integer userId;
}
